package models;

import java.util.ArrayList;

import models.entity.Entity;
import models.tent.Tent;
import controllers.Game;

public class Player {
	
	public int color;
	
	public Game game;
	public int numTroops, numMaxTroops;
	public int health;
	public int resources;
	public ArrayList<Entity> entities;
	public ArrayList<Tent> tents;
	
	public Player(Game game, int color, int ntroop) {
		
		this.game = game;
		//TODO change the Troops initial number.
		numTroops = ntroop;
		numMaxTroops = 9;
		entities = new ArrayList<Entity>();
		tents = new ArrayList<Tent>();
		this.color = color;
		health = 5000;
		resources = 10400;
		
	}

	public void addEntity(Entity newTroop) {
		entities.add(newTroop);
	}

	
}
